// MoveButtons.cpp : implementation file
//

#include "stdafx.h"
#include "NXTPocketPC.h"
#include "MoveButtons.h"
#include "nxtDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// MoveButtons

MoveButtons::MoveButtons()
{
}

MoveButtons::~MoveButtons()
{
}


BEGIN_MESSAGE_MAP(MoveButtons, CButton)
	//{{AFX_MSG_MAP(MoveButtons)
	ON_WM_LBUTTONUP()
	ON_WM_LBUTTONDOWN()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// MoveButtons message handlers

void MoveButtons::OnLButtonUp(UINT nFlags, CPoint point) 
{
	dialog->stop();
	
}

void MoveButtons::OnLButtonDown(UINT nFlags, CPoint point) 
{
    dialog->forward(); 	
}
